package com.linchuansi.lock.reentrantlock;

import java.util.concurrent.locks.ReentrantReadWriteLock;

/**
 * *
 *
 * @author wb
 * @date 2025-11-13 21:28*@since 1.0.0
 */
public class ReentrantReadWriteLockDemo {

    static ReentrantReadWriteLock reentrantReadWriteLock = new ReentrantReadWriteLock();
    static ReentrantReadWriteLock.ReadLock readLock = reentrantReadWriteLock.readLock();
    static ReentrantReadWriteLock.WriteLock writeLock = reentrantReadWriteLock.writeLock();
    public static void main(String[] args) {
        readLock.lock();
    }

}
